package com.dabai.iot.core.mapper;

import com.dabai.iot.core.entity.DeviceEntity;
import com.dabai.iot.core.vo.HomeLineVO;
import com.github.yulichang.base.MPJBaseMapper;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 设备 Mapper 接口
 *
 * @author kev1n
 */
public interface DeviceMapper extends MPJBaseMapper<DeviceEntity> {

    List<HomeLineVO> selectDeviceCountByCreateDate(String tenantId, LocalDateTime startTime, LocalDateTime endTime);

}
